package com.example.demo.service;

import com.example.demo.model.entity.Coupon;
import com.example.demo.model.request.coupon.CreateCouponRequest;
import com.example.demo.model.request.coupon.DeleteCouponRequest;
import com.example.demo.model.request.coupon.UpdateCouponRequest;
import com.example.demo.model.response.PageQueryCouponResponse;
import com.example.demo.util.PageInfo;

public interface CouponService {

    Boolean create(CreateCouponRequest request);

    Boolean update(UpdateCouponRequest request);

    Boolean delete(DeleteCouponRequest request);

    PageQueryCouponResponse pageQuery(PageInfo pageInfo);

    Coupon query(Integer id);
}
